const mysql = require('mysql')

const sqlConn = () => {
    const conn = mysql.createConnection({
        host: '10.10.195.233',
        port: '3306',
        user: 'root',
        password: 'pKDsEA2Y!qJC*!Y0',
        database: 'nuoke-db-test'
    })
    conn.connect()
    return conn
}

module.exports = sqlConn


